﻿@{
	ViewBag.Title = "Excel Export";
}

<h2>Excel Export</h2>
<br />
<br />
<input id="btnNo" type="button" value="Export No Formatting" />
<br />
<br />
<input id="btnWith" type="button" value="Export With Formatting 1 Sheet" />
<br />
<br />
<input id="btnWith3" type="button" value="Export With Formatting 3 Sheets" />

<script type="text/javascript">
	$(document).ready(function ()
	{
		$("#btnNo").click(function (e)
		{
			location.href = "@Url.Action("ExportNoFormatting", "Home")";
		});

		$("#btnWith").click(function (e)
		{
			location.href = "@Url.Action("ExportWithFormatting", "Home")";
		});

		$("#btnWith3").click(function (e)
		{
			location.href = "@Url.Action("ExportWithFormatting3", "Home")";
		});

	});
</script>